import React from 'react';
import {Text} from 'react-native';

import Video from './pages/Video';
import Audio from './pages/Audio';
import Picture from './pages/Picture';

import NearestAdd from './pages/NearestAdd';
import PlayList from './pages/PlayList';
import History from './pages/History';

import LocalNetwork from './pages/LocalNetwork';
import Streaming from './pages/Streaming';
import WifiTransmission from './pages/WifiTransmission';
import Download from './pages/Download';
import MobileTransmission from './pages/MobileTransmission';
import WebDAV from './pages/WebDAV';

import MySDCard from './pages/MySDCard';

import * as Icon from './SvgIconMainNav';

export default [
  [
    'Doc',
    [
      '文档',
      [
        [
          'Video',
          <Video />,
          '视频',
          <Icon.Video />,
          {options: {headerShown: true}},
        ],
        ['Audio', <Audio />, '音频', <Icon.Audio />, {}],
        ['Picture', <Picture />, '图片', <Icon.Picture />, {}],
      ],
    ],
  ],
  [
    'List',
    [
      '列表',
      [
        ['NearestAdd', <NearestAdd />, '最近添加', <Icon.NearestAdd />, {}],
        ['PlayList', <PlayList />, '播放列表', <Icon.PlayList />, {}],
        ['History', <History />, '历史记录', <Icon.History />, {}],
      ],
    ],
  ],
  [
    'Network',
    [
      '网络',
      [
        [
          'LocalNetwork',
          <LocalNetwork />,
          '本地网络',
          <Icon.LocalNetwork />,
          {},
        ],
        ['Streaming', <Streaming />, '流媒体', <Icon.Streaming />, {}],
        [
          'WifiTransmission',
          <WifiTransmission />,
          'Wifi传输',
          <Icon.History />,
          ,
          {},
        ],
        ['Download', <Download />, '下载', <Icon.Download />, {}],
        [
          'MobileTransmission',
          <MobileTransmission />,
          '手机对传',
          <Icon.MobileTransmission />,
          {},
        ],
        ['WebDAV', <WebDAV />, 'WebDAV', <Icon.WebDAV />, {}],
      ],
    ],
  ],
  [
    'Directory',
    [
      '目录',
      [['MySDCard', <MySDCard />, '内部存储', <Icon.MySDCard />, {}]],
    ],
  ],
];
